package cn.icesky1stm.isblog.config;

import cn.icesky1stm.isblog.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: BeanConfig <br>
 * @Description: 工具类初始化 <br>
 * @Package: cn.icesky1stm.isblog.config <br>
 * @author: suitianmou <br>
 * @Date: 2021/6/28-21:25 <br>
 * @version: 1.0 <br>
 * @see <br>
 * @since (从产品的哪一个版本此类被添加进来 ( 可选))<br>
 * 修改历史: <br>
 * 修改时间             修改人           版本变更           修改说明<br>
 * -----------------------------------------------------<br>
 * <br>
 */
@Configuration
public class BeanConfig {

    @Bean
    public IdWorker idworker(){
        return new IdWorker();
    }

}
